import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

export default new VueRouter({
    mode: 'history',
    routes: [{
        path: '/shouye',
        name: 'shouye',
        component: () => import('@/views/ShouYe.vue')
    },
    {
        path: '/',
        redirect: {
            name: 'shouye'
        }
    },
    {
        path: '/jianjie',
        name: 'jianjie',
        component: () => import('@/views/JianJie.vue')
    },
    {
        path: '/tuandui',
        name: 'tuandui',
        component: () => import('@/views/TuanDui.vue')
    },
    {
        path: '/dongtai',
        name: 'dongtai',
        component: () => import('@/views/DongTai.vue')
    },
    {
        path: '/hezuo',
        name: 'hezuo',
        component: () => import('@/views/HeZuo.vue')
    },
    {
        path: '/lianxi',
        name: 'lianxi',
        component: () => import('@/views/LianXi.vue')
    }
    ]
})